@extends('admin.main')
@section('body')
    <div class="tab-wrap">
        <div class="tab-content">
            <form action="" method="post" class="form-horizontal">
                <!-- 基础 -->
                <div id="tab1" class="tab-pane in tab1">
                    <div class="form-item">
                        <label class="item-label">
                            商品名称<span class="check-tips"></span>
                        </label>
                        <div class="controls">
                            <input type="text" readonly="readonly" class="text input-large" placeholder=""
                                   value="{{$info ? $info['goods_name'] : ''}}">
                            <span style="color: #4bbd00" id="mid-show"></span>
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">
                            当前库存<span class="check-tips">（桶）</span>
                        </label>
                        <div class="controls">
                            <input type="text" readonly="readonly" class="text input-large" value="{{$info ? $info['goods_num'] : 0}}" />
                        </div>
                    </div>
                    <div class="form-item">
                        <label class="item-label">
                            入库数量<span class="check-tips"></span>
                        </label>
                        <div class="controls">
                            <input type="number" class="text input-large" name="num" placeholder="请输入入库数量" min="1" />
                        </div>
                    </div>

                    <div class="form-item">
                        <button type="submit" id="submit" class="btn submit-btn ajax-post"
                                target-form="form-horizontal">确 定
                        </button>
                        <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
@endsection